package br.schindler.android.wallpaper.milkyway;

public class Sun extends CelestialBody {
	
	/**
	 * Global location
	 */
	private static final double [] loc =  {0, 0, 0};

	/**
	 * Creates a new Sun
	 * @param r
	 */
	public Sun(double r) {
		super(0, r);
	}

	/*
	 * (non-Javadoc)
	 * @see br.schindler.android.wallpaper.milkyway.CelestialBody#currentLocation(double)
	 */
	@Override
	public double[] currentLocation(double t) {
		return loc;
	}
	
	/*
	 * (non-Javadoc)
	 * @see br.schindler.android.wallpaper.milkyway.CelestialBody#getOrbitPeriod()
	 */
	@Override
	public double getOrbitPeriod() {
		return 0;
	}
}
